import request from "@/utills/request";

export function upUserCollectionJob(data: any) {
  return request({
    method: "POST",
    url: "/api/user/upUserCollectionJob",
    data,
  })
}
export function getUserCollectionJobs(data: any) {
  return request({
    method: "POST",
    url: "/api/user/getUserCollectionJobs",
    data,
  })
}
export function getUserApplyJobs(data: any) {
  return request({
    method: "POST",
    url: "/api/user/getUserApplyJobs",
    data,
  })
}
export function upUserEmail(data: any) {
  return request({
    method: "POST",
    url: "/api/user/upUserEmail",
    data,
  })
}
export function upUserPhone(data: any) {
  return request({
    method: "POST",
    url: "/api/user/upUserPhone",
    data,
  })
}
export function upUserPwd(data: any) {
  return request({
    method: "POST",
    url: "/api/user/upUserPwd",
    data,
  })
}
export function vUserPwd(data: any) {
  return request({
    method: "POST",
    url: "/api/user/vUserPwd",
    data,
  })
}

export function getOneJobInfo(data: any) {
  return request({
    method: "POST",
    url: "/api/user/getOneJobInfo",
    data,
  })
}
export function upCollectionJob(data: any) {
  return request({
    method: "POST",
    url: "/api/user/upCollectionJob",
    data,
  })
}
export function applyJob(data: any) {
  return request({
    method: "POST",
    url: "/api/user/applyJob",
    data,
  })
}

export function upUserInfo(data: any) {
  return request({
    method: "POST",
    url: "/api/user/upUserInfo",
    data,
  })
}
export function getUserInfo(data: any) {
  return request({
    method: "POST",
    url: "/api/user/getUserInfo",
    data,
  })
}

export default {
  upUserInfo,
  getUserInfo,
  getUserApplyJobs,
  applyJob,
  upCollectionJob,
  getOneJobInfo,
}

